package com.ngkj.zmfptback.business.service.write.impl;

import com.ngkj.zmfptback.business.bean.CommunityEntity;
import com.ngkj.zmfptback.business.mapper.write.CommunityWriteMapper;
import com.ngkj.zmfptback.business.service.write.CommunityWriteService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author ChenHN
 * @since 2021/12/29 creation
 **/
@Service
public class CommunityWriteServiceImpl implements CommunityWriteService {
    @Resource
    private CommunityWriteMapper communityWriteMapper;

    @Override
    public void addCommunity(CommunityEntity communityEntity) {
        communityWriteMapper.addCommunity(communityEntity);
    }

    @Override
    public void editCommunity(CommunityEntity communityEntity) {
        communityWriteMapper.editCommunity(communityEntity);
    }

    @Override
    public void deleteCommunity(Long xqlsh) {
        communityWriteMapper.deleteCommunity(xqlsh);
    }
}
